package com.example.waibao.service;

import com.example.waibao.entity.box;
import com.example.waibao.entity.task;
import com.example.waibao.entity.task_review;
import com.github.pagehelper.PageInfo;

import java.util.Date;
import java.util.List;

public interface taskService {
    List<task_review> get_task_review(int schoolId, int status);

    void solve_task_review(task_review taskReview);

    void add_score_detail(Date utilDate, int score, int taskId, int userId);

    void update_score_sum(int userId, int score, Date utilDate);

    void update_speciality_score(int score, int userId, Date utilDate);

    void update_student_level(int userId);

    void set_blind_box(box box);

    PageInfo<box> get_blind_box(int schoolId, Integer pageNum, Integer pageSize);

    void delete_blind_box(int id);

    List<String> get_box(int schoolId);

    void update_head_heaver(int i);

    List<task> get_student_process1(int userId);

    List<task> get_student_process2(int userId,int schoolId);
}
